#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<float.h>
int main(void)
{
	float a = 1.0 / 3.0;
	double b = 1.0 / 3.0;
	printf("%.6f %.12f %.16f\n", a, a, a);
	printf("%.6f %.12f %.16f\n", b, b, b);
	printf("float precision is %d digits.\n", FLT_DIG);
	printf("double precision is %d digits.\n", DBL_DIG);
	return 0; 
}